import ajax from "../utils/request";

// 1. 添加轮播图
export function addBanner(data) {
    return ajax({
        url: "/banner/add",
        method: "POST",
        data,
    });
}

// 2. 轮播图列表
export function getBannerList() {
    return ajax({
        url: "/banner/list",
    });
}
